

<div class="box box-success">
    <div class="box-header">
        <h1 class="box-title">渠道</h1>
    </div>

    <div class="box-body">


        <div class="form-group">
            {!! Form::label('title', '渠道标题:',['class'=>'col-sm-2 control-label']) !!}
            <div class="col-sm-2">
                <input name="title"  value="{{ $data->title or ''}}" placeholder="如:陌陌" type="text" required>
            </div>
        </div>

        <div class="form-group">
            {!! Form::label('nid', '渠道标识:',['class'=>'col-sm-2 control-label']) !!}
            <div class="col-sm-10">
                <input name="nid" value="{{ $data->nid or ''}}" placeholder="如:channel_1" type="text"  @if($data->nid) readonly disabled @endif required>
            </div>
        </div>
        <div class="form-group">
            {!! Form::label('link', '推广链接:',['class'=>'col-sm-2 control-label']) !!}
            <div class="col-sm-10">
                <input name="link" value="{{ $data->link or ''}}" placeholder="如:http://m.shoujiweidai.cn/loding.html?channel=oppo" type="text"   required>
            </div>
        </div>
        <div class="form-group">
            {!! Form::label('reg_cut', '注册扣量:',['class'=>'col-sm-2 control-label']) !!}
            <div class="col-sm-10">
                <input name="reg_cut" value="{{ $data->reg_cut or '1.00'}}" type="number"   max="1.00" min="0" step="0.01"> @if(!$data)<span style="color:green">(默认为1)</span>@endif
            </div>
        </div>

        {{--<div class="form-group">--}}
            {{--{!! Form::label('company_id', '添加授权',['class'=>'col-sm-2 control-label']) !!}--}}
            {{--<div class="col-sm-10">--}}
                {{--<select name="company_id" id="company_id" --}}{{--@if(isset($data['company_id'])) disabled="disabled" @endif--}}{{-->--}}
                    {{--@foreach(\App\Models\Factory\DeliveryFactory::getAccountsIdNameArray() as $key =>$value)--}}
                        {{--<option value="{{ $key }}"  @if(isset($data['company_id']) && $data['company_id'] == $key) selected @endif>{{ $value }}--}}
                        {{--</option>--}}
                    {{--@endforeach--}}
                {{--</select>--}}
            {{--</div>--}}
        {{--</div>--}}
    </div>
</div>

    </div>
</div>
{{--速配信息 结束--}}
